import { createApp } from 'vue'
import App from './App.vue'
// 引入element-UI
import ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/index.css' 
// 引入vueRoute
import router from './router'
// 引入通用插件
import commonPlugins from './plugins/commonPlugins.js'
// 引入fontawesome字体图标
import { library } from '@fortawesome/fontawesome-svg-core'
import {fas} from '@fortawesome/free-solid-svg-icons'
import {far} from '@fortawesome/free-regular-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'


library.add(fas,far)

const app=createApp(App)
app.use(router)
app.use(ElementPlus)
app.use(commonPlugins)
app.component("font-awesome-icon",FontAwesomeIcon)
app.mount('#app')
